package com.ruoyi.equipment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 设备使用对象 fz_equipment_record
 * 
 * @author ruoyi
 * @date 2020-03-22
 */
public class FzEquipmentRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 使用id */
    private String recordId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cId;

    /** 设备id */
    @Excel(name = "设备id")
    private String equipmentId;

    /** 钥匙id */
    @Excel(name = "钥匙id")
    private String keyId;

    /** 使用时间 */
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useTime;

    /** 使用者名字 */
    @Excel(name = "使用者名字")
    private String name;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String statusCd;

    public void setRecordId(String recordId) 
    {
        this.recordId = recordId;
    }

    public String getRecordId() 
    {
        return recordId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setKeyId(String keyId) 
    {
        this.keyId = keyId;
    }

    public String getKeyId() 
    {
        return keyId;
    }
    public void setUseTime(Date useTime) 
    {
        this.useTime = useTime;
    }

    public Date getUseTime() 
    {
        return useTime;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("cId", getcId())
            .append("equipmentId", getEquipmentId())
            .append("keyId", getKeyId())
            .append("useTime", getUseTime())
            .append("name", getName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
